#pragma once

#include <cppunit/extensions/HelperMacros.h>
#include <socket.h>

using namespace remjob;

class SocketTest : public CPPUNIT_NS::TestFixture
{
  CPPUNIT_TEST_SUITE( SocketTest );
  CPPUNIT_TEST( testTCPSocket );
  CPPUNIT_TEST_EXCEPTION( testSocketException, SocketException );
  CPPUNIT_TEST_SUITE_END();

public:
  void setUp();
  void tearDown();

  void testTCPSocket();
  void testSocketException();
};

